fullsync fix: Fix Syncer panics due to incorrect PVC configuration#3269
Conversation
|
Hi @nikhilbarge. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
acf338b to
167d953
Compare
|
/ok-to-test |
|
/approve |
|
@nikhilbarge can you explain on the bug when this condition happens? |
observed we hit this issue when there is no volumeclaim associated with pv (claimref is nil). this happen when user statically provision volume but create only PV and no associated PVC. |
|
/ok-to-test |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akankshapanse, divyenpatel, nikhilbarge The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Reverted the refactoring done as part of #3234 (#3266) * Fix panic on DeletedFinalStateUnknown (#3262) Properly handle DeletedFinalStateUnknown when watching Nodes * fullsync fix: add nil check on claimreference while listing pvs (#3269) * bump up k8s version to 1.33.0 (#3274) --------- Co-authored-by: Satyanarayana Kolluri <kanvstnrn@gmail.com> Co-authored-by: Jan Šafránek <jsafrane@redhat.com>
What this PR does / why we need it:
Fix Syncer panics with NPE due to nil claimreference for PVC
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close that issue when PR gets merged): fixes #Testing done:
Manual Testing Performed
full-sync-nil-claimref-manual-testing.log
fullsync-nil-claimref-vsphere-syncer.log
Special notes for your reviewer:
Release note: